<template>
  <div class=''>我是父亲
    <input type="text" v-model="msg2">
    <son @abc='abc'></son>
  </div>

</template>

<script>
import Son from '../zichuanfu/son.vue'
export default {
  name: 'MyComponent',
  components: {
    Son
  },
  props: { },
  data () {
    return {
      msg2: ''
    }
  },
  methods: {
    abc (data) {
      this.msg2 = data
    }
  },
  computed: { },
  created () {

  },
  mounted () { }
}
</script>

<style scoped lang='less'></style>
